package com.fc.v2.model.auto;

import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import cn.hutool.core.date.DateUtil;
import java.util.Date;

public class ApplyParticipator implements Serializable {
    private static final long serialVersionUID = 1L;

	
	@ApiModelProperty(value = "id")
	private String id;
	
	@ApiModelProperty(value = "姓名")
	private String partName;
	
	@ApiModelProperty(value = "年龄")
	private Integer partAge;
	
	@ApiModelProperty(value = "专业职称")
	private String partTitle;
	
	@ApiModelProperty(value = "单位")
	private String partDept;
	
	@ApiModelProperty(value = "专长")
	private String partExpertise;
	
	@ApiModelProperty(value = "近期研究成果/承担任务")
	private String researchRes;
	
	@ApiModelProperty(value = "项目id")
	private String projectId;
	
	@ApiModelProperty(value = "承担任务")
	private String partTask;
	
	@ApiModelProperty(value = "结项id")
	private String finishId;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	@ApiModelProperty(value = "更新时间")
	private Date updateTime;
	
	@JsonProperty("id")
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id =  id;
	}
	@JsonProperty("partName")
	public String getPartName() {
		return partName;
	}

	public void setPartName(String partName) {
		this.partName =  partName;
	}
	@JsonProperty("partAge")
	public Integer getPartAge() {
		return partAge;
	}

	public void setPartAge(Integer partAge) {
		this.partAge =  partAge;
	}
	@JsonProperty("partTitle")
	public String getPartTitle() {
		return partTitle;
	}

	public void setPartTitle(String partTitle) {
		this.partTitle =  partTitle;
	}
	@JsonProperty("partDept")
	public String getPartDept() {
		return partDept;
	}

	public void setPartDept(String partDept) {
		this.partDept =  partDept;
	}
	@JsonProperty("partExpertise")
	public String getPartExpertise() {
		return partExpertise;
	}

	public void setPartExpertise(String partExpertise) {
		this.partExpertise =  partExpertise;
	}
	@JsonProperty("researchRes")
	public String getResearchRes() {
		return researchRes;
	}

	public void setResearchRes(String researchRes) {
		this.researchRes =  researchRes;
	}
	@JsonProperty("projectId")
	public String getProjectId() {
		return projectId;
	}

	public void setProjectId(String projectId) {
		this.projectId =  projectId;
	}
	@JsonProperty("partTask")
	public String getPartTask() {
		return partTask;
	}

	public void setPartTask(String partTask) {
		this.partTask =  partTask;
	}
	@JsonProperty("finishId")
	public String getFinishId() {
		return finishId;
	}

	public void setFinishId(String finishId) {
		this.finishId =  finishId;
	}
	@JsonProperty("updateTime")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime =  updateTime;
	}

																						
	public ApplyParticipator(String id,String partName,Integer partAge,String partTitle,String partDept,String partExpertise,String researchRes,String projectId,String partTask,String finishId,Date updateTime) {
				
		this.id = id;
				
		this.partName = partName;
				
		this.partAge = partAge;
				
		this.partTitle = partTitle;
				
		this.partDept = partDept;
				
		this.partExpertise = partExpertise;
				
		this.researchRes = researchRes;
				
		this.projectId = projectId;
				
		this.partTask = partTask;
				
		this.finishId = finishId;
				
		this.updateTime = updateTime;
				
	}

	public ApplyParticipator() {
	    super();
	}

	public String dateToStringConvert(Date date) {
		if(date!=null) {
			return DateUtil.format(date, "yyyy-MM-dd HH:mm:ss");
		}
		return "";
	}
	

}